﻿<UserControl
    x:Class="LASGui.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" 
    xmlns:uriMapper="clr-namespace:System.Windows.Navigation;assembly=System.Windows.Controls.Navigation"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">

    <Grid x:Name="LayoutRoot" Style="{StaticResource LayoutRootGridStyle}">
    	<Grid.RowDefinitions>
    		<RowDefinition/>
    		<RowDefinition Height="0*"/>
    		<RowDefinition Height="0*"/>
    	</Grid.RowDefinitions>

        <Border x:Name="ContentBorder" Style="{StaticResource ContentBorderStyle}" Margin="0,0,1,-1" d:LayoutOverrides="Width" Grid.RowSpan="3">

            <navigation:Frame x:Name="ContentFrame" Style="{StaticResource ContentFrameStyle}" 
                              Source="/Home" Navigated="ContentFrameNavigated" NavigationFailed="ContentFrameNavigationFailed" HorizontalAlignment="Stretch" Margin="0,99,0,67">
                <navigation:Frame.UriMapper>
                  <uriMapper:UriMapper>
                    <uriMapper:UriMapping Uri="" MappedUri="/Views/Home.xaml"/>
                    <uriMapper:UriMapping Uri="/{pageName}" MappedUri="/Views/{pageName}.xaml"/>
                  </uriMapper:UriMapper>
                </navigation:Frame.UriMapper>
            </navigation:Frame>
        </Border>
        <Grid x:Name="NavigationGrid" Style="{StaticResource NavigationGridStyle}" VerticalAlignment="Top" Margin="0,-1,0,0" Background="{StaticResource HoverHyperLinkBackgroundColorBrush}" d:LayoutOverrides="Height">
        	<Image Source="Graphics/Banner.png" HorizontalAlignment="Left" Width="259" Height="100" d:LayoutOverrides="HorizontalAlignment" Opacity="0.75"/>
        	<Border x:Name="LinksBorder" Style="{StaticResource LinksBorderStyle}" HorizontalAlignment="Right" Margin="0,27,0,31" Visibility="Collapsed">
        		<StackPanel x:Name="LinksStackPanel" Style="{StaticResource LinksStackPanelStyle}" HorizontalAlignment="Center" VerticalAlignment="Stretch" Margin="0,3,0,-3">
        			<HyperlinkButton x:Name="Link1" Style="{StaticResource LinkStyle}" 
        				NavigateUri="/Cuentas" TargetName="ContentFrame" Content="cuentas"/>
        			<Rectangle x:Name="Divider1_Copy" Style="{StaticResource DividerStyle}" HorizontalAlignment="Center"/>
        			<HyperlinkButton x:Name="Link23" Style="{StaticResource LinkStyle}" 
        				NavigateUri="/Asientos" TargetName="ContentFrame" Content="asientos"/>
        			<Rectangle x:Name="Divider1_Copy4" Style="{StaticResource DividerStyle}" HorizontalAlignment="Center"/>
        			<HyperlinkButton x:Name="Link23_Copy" Style="{StaticResource LinkStyle}" 
        				NavigateUri="/Reportes" TargetName="ContentFrame" Content="reportes"/>
        			<Rectangle x:Name="Divider1_Copy5" Style="{StaticResource DividerStyle}" HorizontalAlignment="Center"/>
        			<HyperlinkButton x:Name="Link23_Copy1" Style="{StaticResource LinkStyle}" 
        				NavigateUri="/Home" TargetName="ContentFrame" Content="cerrar sesión"/>
        		</StackPanel>
        	</Border>
        </Grid>
        <Grid x:Name="NavigationGrid_Copy" Style="{StaticResource NavigationGridStyle}" Margin="0,-66,0,-1" VerticalAlignment="Stretch" Grid.Row="1" Grid.RowSpan="2" Background="{StaticResource HoverHyperLinkBackgroundColorBrush}" Height="Auto"/>

    </Grid>

</UserControl>